#pragma once
#include "Character.h"

#include <OIS.h>

#define RUN_SPEED 100           // character running speed in units per second
#define TURN_SPEED 500.0f      // character turning in degrees per second


class PlayerCharacter :
	public Character
{
public:
	PlayerCharacter(Real id, String charType, SceneManager* sceneManager);
	~PlayerCharacter(void);

	Ogre::Vector3 mMoveDirection;
	Ogre::Camera* mCam;
	
	void injectKeyUp(const OIS::KeyEvent& evt);
	void injectKeyDown(const OIS::KeyEvent& evt);
	
	void setupBody();
	void setupCamera();
	void setupAnimation();
	void update(Real deltaTime);

	void updateBody(Real deltaTime);
	void updateCamera(Real deltaTime);
	void updateAnimation(Real deltaTime);
};

